
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>生产者消费者介绍</title>
		<style type="text/css">
			#div1 {
				width: 300px;
				height: 300px;
				background-color: #2b69c5;
				margin: 100px auto;
				color: white;
				font-size: 24px;
				border: 8px double #009933;
				text-align: center;
			}
		</style>
		<link type="text/css" rel="stylesheet" href="first.css">
	</head>
	<body background="">
		<div id="container" class="">
			<div id="header" class="">
                <a href="http://www.aust.edu.cn/"><img src="2.png" height=100% width=47%></a>
			</div>
			<div id="nav" class="">
				<ul>
					<li><a href="./First.html">首&nbsp;&nbsp;&nbsp;&nbsp;页</a></li>
                   
					<li><a href="./second.html">成绩评定</a></li>
					<li><a href="#">消费者介绍</a></li>
					<li><a href="./Forth.html">具体流程</a></li>
					<li><a href="./Third.html">测试截图</a></li>
				</ul>
			</div>
			<div id="mainbody" class="">
				<div id="div1" class="">
					<script type="text/javascript">
						// document.write("<strong>成绩评定</strong><br><br>");
						document.write('<div style="text-align:center"><strong>成绩评定</strong><br/></div>');
						
						
						var result = "";
						var x = prompt("请输入你的姓名：", 0);
						if (x != null) {
							
							if (x == "呼呼" || x== "许跃杰") {
								result = "非常优秀";
								alert("1——成绩等级为" + result);
							} 
							else {
								result = "不合格";
								alert("2——成绩等级为" + result);
							}
							document.write("学生姓名为：" + x);
						} else {
							alert("请重新输入成绩！");
						}
						document.write('<div style="text-align:center">成绩等级</div>' + result);
					</script>
				</div>
				
            </div>
            <br/>
			<div id="footer" class="">
				<p>&copy;Copyright 呼呼和他的小站  Designed By<a href="http://jsj.aust.edu.cn/" class="footer">安徽理工大学计算机学院</a></p>
			</div>
		</div>
	</body>
</html>

